<?php 
header('Content-Type:text/html;charset=gbk');
require_once("db_manage.php");
require_once 'bbs/include/common.inc.php';
$title = $_POST['title'];
$area = $_POST['area'];
$view = $_POST['view'];
$bed = $_POST['bed'];
$type = $_POST['type'];
$traffic = $_POST['traffic'];
$expense = $_POST['expense'];
$num = $_POST['num'];
$costdate = $_POST['costdate'];
$backdate = $_POST['backdate'];
$content = $_POST['content'];
$edit = $_POST['edit'];
$back = $_GET['back'];
///////////////////////
$module = $_POST['module'];
$fid = $_POST['travelid'];
$uid = $_POST['postuser'];
$content = $_POST['content'];

if($module=="travel"){
	$comment = array(addslashes($fid),addslashes($content),addslashes($uid),"travel");
	addComment($comment);
	echo "<script>location.href='page_travel_detail.php?id=".$fid."';</script>";  
}
?>